import http from "@/http";
const service = "tenant";
export const API_USER_VALIDATE_CHART = (data: any) => {
  return http.post(`/tenant/login/validCaptchaStr`, data);
};

export const API_USER_ENCRYPT = () => {
  return http.post(`/${service}/login/getKey`);
};
export const API_LOGIN_ENTER = (data: any) => {
  return http.post(`/${service}/login/enter`, data);
};

export const API__USER_INFO_LATEST = () => {
  return http.post(`/${service}/current/user/getInfoRefresh`, {});
};
